package com.itheima.mp.domain.query;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel(description = "用户查询条件实体")
public class UserQuery extends PageQuery {
  @ApiModelProperty("用户名关键字")
  private String name;
  @ApiModelProperty("用户状态：1-正常，2-冻结")
  private Integer status;
  @ApiModelProperty("余额最小值")
  private Integer minBalance;
  @ApiModelProperty("余额最大值")
  private Integer maxBalance;
}
